package com.gxa.pingan.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * @Author ChenJin
 * @date 2021/10/25 11:42
 * Description:
 **/
@AllArgsConstructor
@NoArgsConstructor
@Data
@ApiModel("CarCard")
public class CarCard implements Serializable {
    @ApiModelProperty(name = "id",value = "id",example = "车主卡编号",dataType = "Long")
    private Long id;
    @ApiModelProperty(name = "name",value = "name",example = "用户名",dataType = "String")
    private String name;
    @ApiModelProperty(name = "phone",value = "phone",example = "联系电话",dataType = "String")
    private String phone;
    @ApiModelProperty(name = "ownerName",value = "ownerName",example = "行驶证车主姓名",dataType = "String")
    private String ownerName;
    @ApiModelProperty(name = "carNum",value = "carNum",example = "车牌号",dataType = "String")
    private String carNum;
    @ApiModelProperty(name = "cardOwner",value = "cardOwner",example = "持卡人",dataType = "String")
    private String cardOwner;
    @ApiModelProperty(name = "idCard",value = "idCard",example = "车主身份证号",dataType = "String")
    private String idCard;
    @ApiModelProperty(name = "inUse",value = "inUse",example = "默认0:0代表审核中，1代表审核失败，2代表成功（同一后台逻辑设置）",dataType = "Integer")
    private Integer inUse;
    @ApiModelProperty(name = "appTime",value = "appTime",example = "申请车主卡时间，申请时，后端生成",dataType = "Timestamp")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date appTime;
}
